import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
        state: {
                collectlist: []
        },
        getters: {
        },
        mutations: {
                collect (state, payload) {
                        state.collectlist.push(payload);
                        console.log(你好);

                },
        },
        actions: {
        },
        modules: {
        }
})
